<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>

<?php 
	$id = $this->input->get('media_id',TRUE);
	$MEDIA = $this->media_entity->init('id', $id);
?> 
<div id="wrap-delete-item">	
	<div class="dashboard-info-wrapper">
		<div class="dashboard-info-left">
			<span>
				<?php if($MEDIA->getType() =='image'):?>
					<?php echo language_translate('media_manage_async_type_image');?>
				<?php else:?>
					<?php echo language_translate('media_manage_async_type_video');?>
				<?php endif; ?>
			</span>
		</div>		
		<div class="dashboard-info-right">
			<?php if($MEDIA->getType() =='image'):?>
				<?php echo thumb($MEDIA->getTargetFileImageTopPublic('big'),THUMB_WW,THUMB_HH);?>
			<?php else:?>
				<?php echo playvideo($MEDIA->getTargetFile('video'),$MEDIA->getTargetFile('avatar'),THUMB_WW,THUMB_HH);?>
			<?php endif; ?>
		</div>
		<div class="clear"></div>	
	</div>

	<div class="dashboard-info-wrapper">
		<div class="dashboard-info-left">
			<span>
				<?php echo language_translate('media_manage_async_click_no');?>
			</span>
		</div>		
		<div class="dashboard-info-right">
			<?php echo $MEDIA->getClickedNo();?>
		</div>
		<div class="clear"></div>	
	</div>

	
</div>
